<%@ include file="/WEB-INF/views/include.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<html>
<head>
<title><fmt:message key="title" /></title>
<style>
.error {
	color: red;
}
</style>
</head>
<body>
	<h1 align="center">
		<fmt:message key="esvit.cabecera" />
	</h1>
	<form:form method="post" commandName="loginBean">
		<table align="center" border="0" cellspacing="0" cellpadding="5">
			<tr>
				<td align="center" colspan="3">
					<div id="error" style="background-color: ffddee; border: red dotted 1px;">
						<form:errors path="*" cssClass="error" />
					</div>
				</td>
			</tr>
			<tr>
				<th align="left">Username</th>
				<th>:</th>
				<td><form:input path="username" />
				</td>
			</tr>
			<tr>
				<th align="left">Password</th>
				<th>:</th>
				<td><form:password path="password" />
				</td>
			</tr>
			<tr>
				<td align="right" colspan="3"><hr> <input type="submit"
					align="middle" value="Ingresar"></td>
			</tr>
		</table>
	</form:form>
</body>
</html>